﻿<?xml version="1.0" encoding="utf-8" ?>
<Package>
  <Participants>
    <Participant type="Role" id="41b3619c-fe14-4eb4-bd70-7e37c94571ae" name="仓库" code="Role_QT" outerId="25"/>
    <Participant type="Role" id="c400a31a-9973-44a4-b0bb-6fe88e6b092a" name="综合部" code="Role_Finance_Manager" outerId="36"/>
  </Participants>
  <WorkflowProcess>
    <Process name="办公用品入库流程" id="68696ea3-00ab-4b40-8fcf-9859dbbde378">
      <Description>办公用品入库流程！</Description>
      <Activities>
        <Activity name="开始" id="e3c8830d-290b-4c1f-bc6d-0e0e78eb0bbf">
          <ActivityType type="StartNode"/>
        </Activity>
        <Activity name="仓库签字" id="c8a6ab46-06ab-485c-a5bc-d6f18db5c2bc">
          <ActivityType type="TaskNode" />
          <Performers>
            <Performer id="41b3619c-fe14-4eb4-bd70-7e37c94571ae" />
          </Performers>
        </Activity>
        <Activity name="XOr分支节点" id="a44d219c-c60e-468c-b5ab-3f5159ac24a4">
          <ActivityType type="GatewayNode" gatewaySplitJoinType="Split" gatewayDirection="XOrSplit"/>
        </Activity>
        <Activity name="综合部签字" id="e60084e4-517a-4892-a290-517159f1b7f4">
          <ActivityType type="TaskNode" />
          <Performers>
            <Performer id="c400a31a-9973-44a4-b0bb-6fe88e6b092a" />
          </Performers>
        </Activity>
        <Activity name="财务部签字" id="ce3343b6-930d-4962-a2b9-2c4c4b2dab06">
          <ActivityType type="TaskNode" />
          <Performers>
            <Performer id="c400a31a-9973-44a4-b0bb-6fe88e6b092a" />
          </Performers>
        </Activity>
        <Activity name="XOr合并节点" id="10c7be47-c556-45ad-9db3-696160a3888a">
          <ActivityType type="GatewayNode" gatewaySplitJoinType="Join" gatewayDirection="XOrJoin"/>
        </Activity>
        <Activity name="总经理签字" id="0fdff3c0-be97-43d6-b4ff-90d52efb5d6f">
          <ActivityType type="TaskNode" />
          <Performers>
            <Performer id="c400a31a-9973-44a4-b0bb-6fe88e6b092a" />
          </Performers>
        </Activity>
        <Activity name="结束" id="76f7ef75-b538-40c8-b529-0849ca777b94">
          <ActivityType type="EndNode"/>
        </Activity>
      </Activities>
      <Transitions>
        <!--开始—仓库签字-->
        <Transition name="T1" id="a13fbc66-7e62-4dea-a4e6-ea094a231ef6" from="e3c8830d-290b-4c1f-bc6d-0e0e78eb0bbf" to="c8a6ab46-06ab-485c-a5bc-d6f18db5c2bc" direction="Forward">
          <Description />
          <Conditions />
        </Transition>
        <!--仓库签字—Or分支节点-->
        <Transition name="T2" id="8dfbbbb7-674f-420a-99cb-5eefb53efbf2" from="c8a6ab46-06ab-485c-a5bc-d6f18db5c2bc" to="a44d219c-c60e-468c-b5ab-3f5159ac24a4" direction="Forward">
          <Description />
          <Conditions />
        </Transition>
        <!--XOr分支节点—财务部-->
        <Transition name="T3" id="7b4e4be7-a74d-4a8b-b2ce-bb367b0186be" from="a44d219c-c60e-468c-b5ab-3f5159ac24a4" to="ce3343b6-930d-4962-a2b9-2c4c4b2dab06" direction="Forward">
          <Description />
          <Condition type="Expression">
            <ConditionText>
              <![CDATA[
                  surplus != "正常"
                  ]]>
            </ConditionText>
          </Condition>
	  <GroupBehaviour priority="2" parallelOption="Necessary"/>
        </Transition>
        <!--Or分支节点—综合部签字-->
        <Transition name="T4" id="df3ba298-3f28-4b30-983e-5a5c10bf19a6" from="a44d219c-c60e-468c-b5ab-3f5159ac24a4" to="e60084e4-517a-4892-a290-517159f1b7f4" direction="Forward">
          <Description />
          <Condition type="Rule">
            <ConditionText>
              <![CDATA[
                  surplus != "超量"
                  ]]>
            </ConditionText>
          </Condition>
	  <GroupBehaviour priority="1" parallelOption="Necessary"/>
        </Transition>
        <!--财务部—XOr合并节点-->
        <Transition name="T5" id="280a25b7-3175-40ef-af80-0e6c7f13e019" from="ce3343b6-930d-4962-a2b9-2c4c4b2dab06" to="10c7be47-c556-45ad-9db3-696160a3888a" direction="Forward">
          <Description />
        </Transition>
        <!--综合部签字—XOr合并节点-->
        <Transition name="T6" id="c6170a27-8b54-41e9-84e5-d89e5820b30f" from="e60084e4-517a-4892-a290-517159f1b7f4" to="10c7be47-c556-45ad-9db3-696160a3888a" direction="Forward">
          <Description />
        </Transition>
        <!--合并节点—总经理签字-->
        <Transition name="T7" id="9ba78022-6dbf-4245-97de-04a42013f3e9" from="10c7be47-c556-45ad-9db3-696160a3888a" to="0fdff3c0-be97-43d6-b4ff-90d52efb5d6f" direction="Forward">
          <Description />
        </Transition>
        <!--总经理签字—结束-->
        <Transition name="T7" id="f395dcc2-c4ae-42c2-a6fb-e0cd21ff8e7c" from="0fdff3c0-be97-43d6-b4ff-90d52efb5d6f" to="76f7ef75-b538-40c8-b529-0849ca777b94" direction="Forward">
          <Description />
        </Transition>
      </Transitions>
    </Process>
  </WorkflowProcess>
</Package>
